// TaskDashboardVO.java
package com.example.demo.controller;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class TaskDashboardVO {
    private String courseId;
    private String courseName;
    private List<TaskItemVO> taskItems;

    @Data
    public static class TaskItemVO {
        private Long taskId;
        private String taskName;
        private String coreRequirements;
        private LocalDateTime deadline;
        private Double submissionRate; // 提交率(%)
        private Integer viewCount;
        private Integer discussionCount;
    }
}